package com.imooc.distributedemo.entity;

import javax.persistence.*;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

@Getter
@Setter
@ToString
@Table(name = "t_distribute_lock")
public class DistributeLock {
    @Id
    private Long id;

    @Column(name = "business_code")
    private String businessCode;

    @Column(name = "business_name")
    private String businessName;
}